# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Markus Tacker <m@cto.hiv>
# Contributor: Peter Hoeg <peter@hoeg.com>

pkgname=ttf-hack
pkgver=3.003
pkgrel=1
pkgdesc='A hand groomed and optically balanced typeface based on Bitstream Vera Mono.'
arch=('any')
license=('SIL Open Font License 1.1 and Bitstream Vera License')
url="http://sourcefoundry.org/hack/"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
source=("https://github.com/source-foundry/Hack/releases/download/v${pkgver}/Hack-v${pkgver}-ttf.tar.xz")
sha256sums=('d9ed5d0a07525c7e7bd587b4364e4bc41021dd668658d09864453d9bb374a78d')

package() {
  install -Dm644 -t "$pkgdir/usr/share/fonts/TTF" "$srcdir"/Hack-*.ttf
}
